package com.bawei.a2010douyin.ui.zhibo;

import com.bawei.a2010douyin.base.mvp.BaseView;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.DanmakuEntity;
import com.bawei.a2010douyin.entity.GiftEntity;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.Query;

public interface ZhiBoContract {
    interface IZhiBoModel{
        Observable<BaseResponse<List<GiftEntity>>> gift();
        Observable<BaseResponse<List<DanmakuEntity>>> getDanMus( int videoId);
    }
    interface IZhiBoView extends BaseView{
        void showGift(List<GiftEntity> data);
        void showDanmus(List<DanmakuEntity> data);
    }

    interface IZhiBoPresenter{
        void gift();
        void getDanMus( int videoId);
    }


}
